<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<?php 
    if($permisos){
    $valor = '';
    foreach ($permisos as $permiso) {
        $valor[$permiso->getId()] = $permiso->getId()."<br>";
    }}
    
?>

<form style="margin-top: 40px;" action="<?php echo url_for('perfil/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?id='.$form->getObject()->getId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
<?php if (!$form->getObject()->isNew()): ?>
<input type="hidden" name="sf_method" value="put" />
<?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
    <tr>
       <td align="center">
            
            
        
 <table class="tableTituloForm" style="" border="0" cellpadding="0" cellspacing="0" >
    <tr>
        
        <td class="columnaTituloForm" align="left">MODIFICAR CLAVE USUARIO</td>
        <td style="background: #488eb8" align="right">
            <input type="submit" value="Guardar" id="submitId" class="button-done submitId" style="float: right;">
        </td>
        
        
    </tr>
    
    
    <tr>
        <td class="columnaFilaForm" align="left">
            <font class="camposIngreso<?php if($form['password']->renderError()) echo "Error"; ?>">
                Clave <?php echo $form['password'] ?>
            </font>
        </td>
        <td class="columnaFilaForm" align="left">
            <font class="camposIngreso<?php if($form['password2']->renderError()) echo "Error"; ?>">
                Confirmar Clave <?php echo $form['password2'] ?>
            </font>
        </td>
    </tr>
    
    
      
      <tr>
        <td colspan="2">
          <?php echo $form->renderGlobalErrors() ?>
          <?php echo $form->renderHiddenFields(false) ?>
          
          
        </td>
      </tr>
      
  </table>
            
            </td>
    </tr>
</table>


</form>

